#!/bin/sh
if [ ! -d "/Applications/City of Heroes.app/Contents/Resources/transgaming/c_drive/coh/Data" ]
then
        mkdir "/Applications/City of Heroes.app/Contents/Resources/transgaming/c_drive/coh/Data"
fi

if [ ! -d "/Applications/City of Heroes.app/Contents/Resources/transgaming/c_drive/coh/Data/texture_library" ]
then
        mkdir "/Applications/City of Heroes.app/Contents/Resources/transgaming/c_drive/coh/Data/texture_library"
fi

cp -r /maps/MAPS "/Applications/City of Heroes.app/Contents/Resources/transgaming/c_drive/coh/Data/texture_library/MAPS"

cp -r /maps/V_MAPS "/Applications/City of Heroes.app/Contents/Resources/transgaming/c_drive/coh/Data/texture_library/V_MAPS"

rm -r /maps/

exit